/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.Activity;
import com.velocityme.entity.Person;
import com.velocityme.entity.Time;
import java.util.Collection;
import java.util.Date;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface PersonLocal {

    Collection<Person> findAllPersons(KeyLocal key);

    Person findPerson(KeyLocal key, Long personId);

    Person createPerson(KeyLocal key, Person person);

    void editPerson(KeyLocal key, Person person);

    Collection<Time> getPersonTimes(KeyLocal key, Person person, Date start, Date stop);

    Collection<Activity> getPersonActivities(KeyLocal key);
    
}
